﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
    <script type="text/javascript" src="Lib/lib.js"></script>
    <script type="text/javascript" src="engine.js"></script>
    <script type="text/javascript" src="Timer.js"></script>
    <script type="text/javascript" src="Sys.js"></script>
    <script type="text/javascript" src="Image.js"></script>
    <script type="text/javascript" src="Font.js"></script>
    <script type="text/javascript" src="Input.js"></script>
    <script type="text/javascript" src="Map.js"></script>
    <script type="text/javascript" src="Camera.js"></script>
    <script type="text/javascript" src="Animation.js"></script>
    
    <script type="text/javascript" src="Sound.js"></script>

    <script type="text/javascript" src="CollisionMap.js"></script>
    <script type="text/javascript" src="BackgroundMap.js"></script>
    <script type="text/javascript" src="Loader.js"></script>
    <script type="text/javascript" src="Entity.js"></script>
    <script type="text/javascript" src="Game.js"></script>

    
</head>
<body>
<div style="width: 960px; height: 640px; margin: 0px auto">
<canvas id="canvas" width="960" height="640" style="background-color: #338; border: solid 1px black;"></canvas>
<div>X for jump, C for shoot, arrows for move. Enjoy!</div>
</div>
<br />
<div id="position"></div>
<script type="text/javascript" src="biolab/EntityPlayer.js"></script>
    <script type="text/javascript" src="biolab/EntityProjectile.js"></script>
    <script type="text/javascript" src="biolab/EntityTrigger.js"></script>
    <script type="text/javascript" src="biolab/EntityEarthquake.js"></script>
    <script type="text/javascript" src="biolab/EntityBlob.js"></script>
    
    <script type="text/javascript" src="biolab/EntityParticle.js"></script>
    <script type="text/javascript" src="biolab/EntityDelay.js"></script>
    <script type="text/javascript" src="biolab/EntityDebris.js"></script>
    <script type="text/javascript" src="biolab/EntityPlayerGib.js"></script>
    <script type="text/javascript" src="biolab/EntityPlayerGibGun.js"></script>
    <script type="text/javascript" src="biolab/EntityBlobGib.js"></script>
    <script type="text/javascript" src="biolab/biolabGame.js"></script>
    <script type="text/javascript" src="biolab/biolab.js"></script>
<script type="text/javascript">
  var res = [];
  Eg.init({
    canvasId: 'canvas',
    FPS: 60,
    width: 240,
    height: 160,
    scale: 4,
    resources: res,
    GameClass: BiolabGame,
    font: 'Resource/font.png',
    AutoStart: true
  });
  Eg.input.bind(Eg.KEY.LEFT_ARROW, 'left');
  Eg.input.bind(Eg.KEY.RIGHT_ARROW, 'right');
  Eg.input.bind(Eg.KEY.W, 'cameraUp');
  Eg.input.bind(Eg.KEY.S, 'cameraDown');
  Eg.input.bind(Eg.KEY.A, 'cameraLeft');
  Eg.input.bind(Eg.KEY.D, 'cameraRight');
  Eg.input.bind(Eg.KEY.X, 'jump');
  Eg.input.bind(Eg.KEY.C, 'shoot');

</script>
<!--<script type="text/javascript" src="debug/menu.js"></script>
  <script type="text/javascript" src="debug/entities-panel.js"></script>
  <script type="text/javascript" src="debug/graph-panel.js"></script>-->
  <!--<script type="text/javascript" src="debug/maps-panel.js"></script>-->
</body>
</html>
